fix: stabilize E2E tests and add parallel CI workflow#516
Merged
Conversation
- Fix create-expert race condition: replace describe.concurrent with sequential execution to prevent afterEach from deleting other test's temp directories - Fix published-expert assertion: add "required" to error message regex to match PERSTACK_API_KEY validation error - Fix streaming event ordering: remove strict start→stream→complete sequence assertions that fail across multiple LLM steps - Fix OpenAI reasoning token assertions: accept thinking text as alternative to token counts (o3-mini may not surface counts) - Restructure E2E workflow: split into 4 parallel matrix suites (cli-core, cli-reasoning, cli-streaming, create-expert) with concurrency 1 to avoid LLM rate limits, triggered only on changeset release PRs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Test fixes
describe.concurrent→describeto fixafterEachrace condition deleting other test's temp dirsPERSTACK_API_KEY is required...error messagestart→stream→completesequence across multiple LLM stepso3-miniassertions accept thinking text as alternative to token counts; streaming event ordering stabilizedCI workflow
pull_requestonmainwithif: startsWith(github.head_ref, 'changeset-release/')— skipped checks pass for other PRsgroup: e2e-tests, cancel-in-progress: false(queues runs, prevents LLM rate limit issues)cli-core(~130s),cli-reasoning(~163s),cli-streaming(~50s),create-expert(~22s)Required branch protection (manual step)
Add these as required status checks for
main:E2E / cli-coreE2E / cli-reasoningE2E / cli-streamingE2E / create-expertTest plan
filesvalues🤖 Generated with Claude Code